' This file is part of the SunDLL.  The SunDLL is free software: you can
' redistribute it and/or modify it under the terms of the GNU General Public
' License as published by the Free Software Foundation, version 2.
'
' This program is distributed in the hope that it will be useful, but WITHOUT
' ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
' FOR A PARTICULAR PURPOSE.  See the GNU General Public License for more
' details.
'
' You should have received a copy of the GNU General Public License along with
' this program; if not, write to the Free Software Foundation, Inc., 51
' Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
'
' Copyright David R. Pratten

' Statistics

%UnitDay       = 10 ' "Day"
%UnitHour      = 11'"Hour"
%UnitTMin      = 12'"TMinute" ' Minute of Time
%UnitTSec      = 13'"TSecond" ' Seconds of Time
%UnitDegree    = 14'"Degree"
%UnitArcMin  = 15'"ArcMinute" ' Minutes of Arc
%UnitArcSec    = 16'"ArcSecond" ' Seconds of Arc
%UnitRadian    = 17'"Radian"

%BadParameter = -99999999
$BadParameter = "-99999999"
%EarliestYear = -4712
%LatestYear = 9999

' Statistics
%StatMax= 20
%StatAverage = 21
%StatMaxPointMJD =22
%StatMaxPointSDY =23
%StatAverageAbs = 25

' Searching
%BinStatusFound = 31
%BinStatusSearching= 32
%SearchZeroY = 33
%SearchMaxY = 34
%SearchMinY = 35
%BinStatusNoSolution = -99999998

' Features
%FeatEOTMax1 = 40'"EOTMax1"
%FeatEOTMax2 = 41'"EOTMax2"
%FeatEOTMin1 = 42'"EOTMin1"
%FeatEOTMin2 = 43'"EOTMin2"
%FeatEOTZero1 = 44'"EOTZero1"
%FeatEOTZero2 = 45'"EOTZero2"
%FeatEOTZero3 = 46'"EOTZero3"
%FeatEOTZero4 = 47'"EOTZero4"
%FeatDeclMax = 48'"DeclMax"
%FeatDeclMin = 49'"DeclMin"
%FeatDeclZero1 = 50'"DeclZero1"
%FeatDeclZero2 = 51'"DeclZero2"
%FeatAnalemmaCrossing1 = 52'"AnalemmaCrossing1"
%FeatAnalemmaCrossing2 = 53'"AnalemmaCrossing2"
%FeatSolstice1 = 54'"Solstice1"
%FeatSolstice2 = 55'"Solstice2"
%FeatEquinox1 = 56'"Equinox1"
%FeatEquinox2 = 57'"Equinox2"

' Scale
%ScaleMJD = 60
%ScaleSDY = 61
%ScaleUTD = 62
%ScaleCTD = 63

$TagTimeZone = "TimeZone"
$TagError = "Error"
$TagMJD = "MJD"
$TagSDY = "SDY"
$TagUTD = "UTD"
$TagCTD = "CTD"
$TagYear = "Year"
$TagMonth = "Month"
$TagDay = "Day"
$TagHour = "Hour"
$TagTMinute = "TMin"
$TagTSec = "TSec"
$TagDegree = "Degree"
$TagArcMinute = "ArcMin"
$TagArcSec = "ArcSec"
$TagDMSSign = "DMSSign"

'
'

$KeyFileTagKeyFile = "KeyFile"
$KeyFileTagSerial = "Serial"
$KeyFileTagKeyFileLevel = "KeyFileLevel"
$KeyFileTagTimeStamp = "TimeStamp"
$KeyFileTagUser = "User"
$KeyFileTagV = "V"
$KeyFileTagKeyType = "KeyType"
$KeyFileTagCompany = "Company"
$KeyFileTagEmail = "Email"

$KeyTypeFreeware = "Freeware"
$KeyTypeProfessionalNonComm = "Freeware"
$KeyTypeProfessionalComm = "Freeware"

'
' Dialog Tags

$TagElement = "Element"
$TagTagName = "TagName"
$TagType = "Type"
$TagLabel = "Label"
$TagRangeLow = "RangeLow"
$TagRangeHigh = "RangeHigh"
$TagOptions = "Options"
$TagFormat = "Format"
$TagSignLabels = "SignLabels"
$TagDialogTitle = "DialogTitle"
$TagBaseDir = "BaseDir"
$TagRequired = "Required"
$TagToolTip = "ToolTip"
$TagResult = "Result"

%SunMeanLocal      = 80
%SunMeanAtLong     = 81
%SunSDYAppAtLong   = 82
%SunMJDAppAtLong   = 83

$DialogTitle = "Sunlit Design - The Sun API"
$DialogCopyright = "Copyright 2001-6 Sunlit Design www.sunlit-design.com"
$RegCompany = "Sunlit Design"
$RegProduct = "The Sun API"
$RegVersion = "02"
$RegValueSerial = "01"
$RegValueKeyFile = "02"
$RegValueLastDateFlash = "03"
%RegNoofVs = 8

$version = "Version 03.01.01"


' Internal Constants

%StatPrintAll =24


' Functions
%FuncEOT = 70
%FuncDecl = 71
%FuncSolstice1 = 72
%FuncSolstice2 = 73
%FuncEquinox1 = 74
%FuncEquinox2 = 75


%secinday = 86400
$EarliestMJD = "-2400000.5"
$LatestMJD = "2973484" ' 31st Dec 9999


%SDYIndexYear  = 2050 ' Must be leap year +  2 in middle of desired range














